/* Copyright@Han MA
 * 
 * 03/06/2006 
 * 
 * 
 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace WaterSheds
{
    class FifoQue
    {
        List<MyPixel> queue = new List<MyPixel>();
        
        public void add(MyPixel p)
        {
            queue.Add(p);
        }
        
        public MyPixel remove()
        {
            MyPixel temp = new MyPixel();
            temp = (MyPixel)queue[0];
            queue.RemoveAt(0);
            return temp;

        }
        public void init()
        {

        }
        
        public bool IsEmpty()
        {
            if (queue.Count == 0)
                return true;
            return false;
        }

    }
}
